﻿<%@ Control Language="vb" AutoEventWireup="false" Explicit="true" codefile="Default.ascx.vb" Inherits="NVPortal.Modules.NVBannerAdv.SpecialDefault" %>
<div id="NVBanneradv" style="text-align: center; display: inline; background: red;">
<asp:Repeater ID="drgOtherNews" runat="server">
    <ItemTemplate>
        <div class="NVBanneradv2" id="flashAdsbottom_1" style="background: url(<%# DataBinder.Eval(Container.DataItem,"IMGLink")%>) no-repeat; height:<%# DataBinder.Eval(Container.DataItem,"Height")%>px; width:<%# DataBinder.Eval(Container.DataItem,"Width")%>">
        <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" height="<%# DataBinder.Eval(Container.DataItem,"Height")%>" width="<%# DataBinder.Eval(Container.DataItem,"width")%>" align="middle"> 
                                        <param name="movie" value="<%# DataBinder.Eval(Container.DataItem,"FlashLink")%>" /> 

                                        <embed align="middle" height="<%# DataBinder.Eval(Container.DataItem,"Height")%>" pluginspage="http://www.macromedia.com/go/getflashplayer" src="<%# DataBinder.Eval(Container.DataItem,"FlashLink")%>" type="application/x-shockwave-flash" width="<%# DataBinder.Eval(Container.DataItem,"width")%>" quality="best" play="true"></embed> 
                                   </object>
		
        </div>
		<script type="text/javascript">
    	    			var flashvars = {
    					};
						var params = {
							wmode: "transparent"
    					};
    			   		swfobject.embedSWF("<%# DataBinder.Eval(Container.DataItem,"FlashLink")%>", "flashAdsbottom_1", "<%# DataBinder.Eval(Container.DataItem,"width")%>", "<%# DataBinder.Eval(Container.DataItem,"Height")%>", "9.0.0");
    				</script>
    </ItemTemplate>
</asp:Repeater>
</div>

